home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / ftn / qread.z / qread
Encoding:
Text File  |  1998-10-20  |  1.8 KB  |  67 lines

  1.  
  2.  
  3.  
  4. qqqqrrrreeeeaaaadddd((((3333GGGG))))                                                            qqqqrrrreeeeaaaadddd((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      qqqqrrrreeeeaaaadddd - reads the first entry in the event queue
  10.  
  11. FFFFOOOORRRRTTTTRRRRAAAANNNN 77777777 SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      iiiinnnntttteeeeggggeeeerrrr****4444 ffffuuuunnnnccccttttiiiioooonnnn qqqqrrrreeeeaaaadddd((((ddddaaaattttaaaa))))
  13.      iiiinnnntttteeeeggggeeeerrrr****2222 ddddaaaattttaaaa
  14.  
  15. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  16.      _d_a_t_a expects the variable that is to receive the data the event queue.
  17.  
  18. FFFFUUUUNNNNCCCCTTTTIIIIOOOONNNN RRRREEEETTTTUUUURRRRNNNN VVVVAAAALLLLUUUUEEEE
  19.      The returned function value is the identifier for the device read.
  20.  
  21. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  22.      When there is an entry in the queue, qqqqrrrreeeeaaaadddd returns the device number of
  23.      the queue entry, writes the data of the entry into _d_a_t_a, and removes the
  24.      entry from the queue.
  25.  
  26.      If there is not an entry in the queue, qqqqrrrreeeeaaaadddd will block and return when
  27.      an entry is made.
  28.  
  29. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  30.      qreset, qtest
  31.  
  32. NNNNOOOOTTTTEEEE
  33.      This routine is available only in immediate mode.
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.